import fly from "../utils/request";
// 登录
export const login =(data)=>{
    return fly.post('/authorizations',data)
}
//验证码
export const verification =(mobile)=>{
    return fly.get('/sms/codes/', mobile)
}
//频道列表
export const channels = () => {
  return fly.get('/user/channels')
}
// 频道列表内容获取
export const articles = (params) => {
  return fly.get('/articles',params)
}